class_name Ball
extends CharacterBody2D

# ===============================================

@onready var sprite: Sprite2D = $Sprite
@onready var decection_area: Area2D = $DecectionArea
@onready var animation_player: AnimationPlayer = %AnimationPlayer

# ===============================================

signal shoot(shoot_velocity: Vector2)

# ===============================================

var carrier: Player
var height: float = 0.0

# ===============================================

func _process(_delta: float) -> void:
	sprite.position = Vector2.UP * height
